package com.kairos.engine
{
	import flash.events.Event;
	
	public class MockRTBeacon extends RTBeacon
	{
		private static var _oInstance : MockRTBeacon;
		
		public static function getInstance() : MockRTBeacon
		{
			if( _oInstance == null ) _oInstance = new MockRTBeacon();
			
			return _oInstance;
		}
		
		public static function release() : void
		{
			_oInstance.stop();
			_oInstance = null;
			
		}
		
		public function setStep ( n : Number ) : void
		{
			_nS = n;
		}
		
		public override function onTick(e:Event=null):void
		{
			_nS *= _nGS;
			
			_onTick();
		}
	}
}